package com.develop.bluetoothlib.operator.abstra;

import com.develop.bluetoothlib.entity.MyBluetoothDevice;
import com.develop.bluetoothlib.inter.BleNotifyCallBack;
import com.develop.bluetoothlib.inter.ClassicBluetoothPairCallBack;
import com.develop.bluetoothlib.inter.ConnectCallBack;


public abstract class Connector {

    private int retryTimes;

    public abstract void connect(MyBluetoothDevice device, ConnectCallBack connectCallBack);

    public abstract void connect(MyBluetoothDevice device, ClassicBluetoothPairCallBack classicBluetoothPairCallBack, ConnectCallBack connectCallBack);

    public abstract void connect(MyBluetoothDevice device, ConnectCallBack connectCallBack, BleNotifyCallBack notifyCallBack);

    public int getRetryTimes() {
        return retryTimes;
    }

    public void setRetryTimes(int retryTimes) {
        this.retryTimes = retryTimes;
    }
}
